package com.twu.biblioteca.menu;

import com.twu.biblioteca.*;

public interface MenuItem {
    public String getName();
    public String getMnemonic();
    public int getPriority();
    public PostMenuItemAction execute(Library library, UserIO io, UserRepository repository);
    public boolean shouldDisplay(User currentUser);

    public static final int PRIORITY_BOOKS = 100;
    public static final int PRIORITY_MOVIES = 200;
    public static final int PRIORITY_USERS = 300;
    public static final int PRIORITY_LAST = Integer.MAX_VALUE;
}

